<template>
  <keep-alive>
    <router-view v-if="$route.meta.keepAlive" :xt='$route.meta.keepAlive'></router-view>
  </keep-alive>
  <router-view v-if="!$route.meta.keepAlive" :xx='$route.meta.keepAlive'></router-view>
</template>
<script>
  export default {
    mounted() {
      console.log(this.Component);
    }
  }
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
*,
*::before,
*::after {
  margin: 0;
}
</style>
